home *** CD-ROM | disk | FTP | other *** search
- Path: brazerko.com!tcassel
- From: tcassel@brazerko.com (tcassel)
- Newsgroups: comp.lang.c
- Subject: ATTENTION C EXPERTS!! Extern Declarations - NEED HELP!
- Message-ID: <DCD9516F@brazerko.com>
- Date: Mon, 15 Jan 96 04:29:21 -0500
- Organization: Brazerko Communications
- Organization: Griffith University, SCT
-
- I am having difficulty understanding the following code and every book I
- get on
- the subject does not explain the multiple MACROS that are in the
- definition.
-
- extern unsigned int _NEAR _CDECL _osversion;
-
- /* where _NEAR and _CDECL are macros defined as:*/
-
- #ifndef NO_KEYS
- #define _CDECL cdecl
- #define _NEAR near
- #else
- #define _CDECL
- #define _NEAR
- #endif
-
- /* There is only two places where cdecl and near are mentioned in the rest
- of
- the program - the following appears once in two seperate header files */
-
- #define _NEAR near
- #define _CDECL cdecl
-
- /* I am attempting to make this program ansi C compilable, and am stuck on
- this
- as I dont understand what the above code is doing. Any help would be
- greatly
- appreciated. Kind Regards, Thea Cassel tcassel@sisyphus.cit.gu.edu.au
- */
-
-
- --
- .-----------------------------------------------------------------------.
- | The gateway is Brazerko Communications'; the opinions are the user's. |
- | sales@brazerko.com info@brazerko.com ('bot) +1 860 886 1441 (BBS) |
- `-----------------------------------------------------------------------'
-